﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Maticsoft.Web.Admin.Shopping
{
    public partial class Category : PageBase
    {
        BLL.BookCategory bll = new BLL.BookCategory();
        protected void Page_Load(object sender, EventArgs e)
        {
            Check("shopping", "read");

            BindData();
        }

        protected void BindData()
        {
            DataSet ds = bll.GetAllList();
            Repeater1.DataSource = ds.Tables[0].DefaultView;
            Repeater1.DataBind();
        }
    }
}